<template>
  <div class="app-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="直接出库" name="1" ref="outbound">
        <outbound v-if="activeName == '1'" />
      </el-tab-pane>
      <el-tab-pane label="申请出库" name="2" ref="application">
        <application v-if="activeName == '2'" />
      </el-tab-pane>
      <el-tab-pane label="待返还" name="3" ref="D">
        <D v-if="activeName == '3'" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import outbound from "./outbound/index.vue";
import application from "./application/index.vue";
import D from "./return/index.vue";
export default {
  components: { outbound, application, D },
  data() {
    return {
      activeName: "1"
    };
  },
  methods: {
    handleClick() {}
  }
};
</script>
